home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-08-07 | 1.9 KB | 76 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="5"
- "UIPATH"="Internet\Internet Explorer\Appearance\"
- "NAME"="Help Menu Options (IE 5.01 only)"
- "LANGUAGE"="VBScript"
- "VERSION"="1.01"
- "TEXT 1"="Show Help menu"
- "TEXT 2"="Show "Tip of the Day" in Help menu"
- "TEXT 3"="Show "Tutorial" in Help menu"
- "TEXT 4"="Show "Send feedback" in Help menu"
- "TEXT 5"="Show "For Netscape..." in Help menu"
- "DESCRIPTION 1"="To show an item in the Help menu, activate it. To hide it, deactivate it."
- "DESCRIPTION 2"="Please note that you need to restart Internet Explorer so the changes can take effect."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"=" "
-
-
-
- sPath="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\"
- sHLP="NoHelpMenu"
- sTIP="NoHelpItemTipOfTheDay" 'all dword (1 = remove)
- sTUT="NoHelpItemTutorial"
- sFED="NoHelpItemSendFeedback"
- sNET="NoHelpItemNetscapeHelp"
-
-
- Sub Plugin_Initialize
- i=RegReadValue(sPath & sHLP)
- if i<>1 then SetUIElement 1,true
-
- i=RegReadValue(sPath & sTIP)
- if i<>1 then SetUIElement 2,true
-
- i=RegReadValue(sPath & sTUT)
- if i<>1 then SetUIElement 3,true
-
- i=RegReadValue(sPath & sFED)
- if i<>1 then SetUIElement 4,true
-
- i=RegReadValue(sPath & sNET)
- if i<>1 then SetUIElement 5,true
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- Call WriteIt(1,sHLP)
- Call WriteIt(2,sTIP)
- Call WriteIt(3,sTUT)
- Call WriteIt(4,sFED)
- Call WriteIt(5,sNET)
- End Sub
-
- Sub WriteIt(ITM,VAL)
- b=GetUIElement(ITM)
- if b=false then
- call RegWriteValue(sPATH & VAL,1,2)
- else
- chk=RegReadValue(sPATH & VAL)
- if IsEmpty(chk)=false then
- Call RegDeleteValue(sPATH & VAL)
- end if
- end if
- end sub
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-